<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>$Title$</title>
</head>
<body>

<p>-----------------------------------单文件上传-----------------------------------</p>
<form action="upload" method="post" enctype="multipart/form-data">
    <p>选择文件: <input type="file" name="fileName"/></p>
    <p><input type="submit" value="提交"/></p>
</form>

<p>-----------------------------------多文件上传-----------------------------------</p>
<form action="uploads" method="post" enctype="multipart/form-data">
    <p>选择文件1: <input type="file" name="fileNames"/></p>
    <p>选择文件2: <input type="file" name="fileNames"/></p>
    <p><input type="submit" value="提交"/></p>
</form>

<p>-----------------------------------文件下载-----------------------------------</p>
<a href="/download">文件下载</a>

</body>
</html>